<?php
/**
 * Teacher review
 *
 * @uses $vars['entity'] ElggGroup object
 */
$entity = elgg_extract ( 'entity', $vars, null );

$form_vars = array (
		'enctype' => 'multipart/form-data',
		'class' => 'elgg-form-alt' 
);
if (isset ( $vars )) {
	$body_vars = array (
			'entity' => $entity,
			"guid" => $vars ['guid'] 
	);
} else {
	$body_vars = array (
			'entity' => $entity
	);
}

echo elgg_view_form ( 'groups/review', $form_vars, $body_vars );
